package com.hongshu.web.domain.vo;

import lombok.Data;

import java.io.Serializable;

/**
 * 系统通知VO
 *
 * @author: hongshu
 * @date: 2024-01-15
 * @version: 1.0.0
 */
@Data
public class SystemNotification implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 通知ID
     */
    private String id;

    /**
     * 通知内容
     */
    private String content;

    /**
     * 时间戳
     */
    private Long timestamp;

    /**
     * 是否启用
     */
    private Boolean enabled;

    /**
     * 推送说明
     */
    private String description;

    public SystemNotification() {
        this.content = "欢迎注册小红薯系统❤️";
        this.timestamp = System.currentTimeMillis();
        this.enabled = true;
    }

    public SystemNotification(String content, Long timestamp, Boolean enabled) {
        this.content = content;
        this.timestamp = timestamp;
        this.enabled = enabled;
    }
}
